package com.shixun.milktea.service;

import com.shixun.milktea.entity.Address;
import com.shixun.milktea.enums.ResultStatusEnum;
import com.shixun.milktea.vo.AddressVo;

import java.util.List;

/**
 * @author : hzc
 * @date: 2022/7/1 - 07 - 01 - 19:18
 * @Description: com.shixun.milktea.service
 * @version: 1.0
 */
public interface AddressService {
    /*
     * @Description: 增加一条用户收藏地址信息
     * @param addressVo:
     * @return: java.lang.Integer
     */
    public Integer addOneAddress(Address address);

    /*
     * @Description:通过消费者id获取所有的下单地址
     * @return: java.util.List<java.lang.String>
     */
    public List<Address> getAddressByConsumerId(Integer consumerId);

    Integer updateOneAddress(Address address);

    Integer deleteAddressByAddressId(Integer addressId);
}
